package com.insuremonitor.system.domain;

import com.insuremonitor.common.annotation.Excel;
import com.insuremonitor.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 货物类型与费率的关系对象 front_insure_rate_kind
 * 
 * @author ruoyi
 * @date 2023-11-21
 */
public class FrontInsureRateKind extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主保险类型id */
    private Long insureKindId;

    /** 保险类型ID */
    @Excel(name = "保险类型ID")
    private Long insureInfoId;

    /** 主保险种类名称 */
    @Excel(name = "主保险种类名称")
    private String insureKindName;



    /** 状态（0删除 1正常） */
    @Excel(name = "状态", readConverterExp = "0=删除,1=正常")
    private String status;

    public void setInsureKindId(Long insureKindId)
    {
        this.insureKindId = insureKindId;
    }

    public Long getInsureKindId()
    {
        return insureKindId;
    }
    public void setInsureInfoId(Long insureInfoId)
    {
        this.insureInfoId = insureInfoId;
    }

    public Long getInsureInfoId()
    {
        return insureInfoId;
    }
    public void setInsureKindName(String insureKindName)
    {
        this.insureKindName = insureKindName;
    }

    public String getInsureKindName()
    {
        return insureKindName;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("insureKindId", getInsureKindId())
                .append("insureInfoId", getInsureInfoId())
                .append("insureKindName", getInsureKindName())

                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

    private List<FrontInsureRateGoods> insureRateGoodss;



    private FrontInsureRateGoods insureRateGoods;

    public List<FrontInsureRateGoods> getInsureRateGoodss() {
        return insureRateGoodss;
    }

    public void setInsureRateGoodss(List<FrontInsureRateGoods> insureRateGoodss) {
        this.insureRateGoodss = insureRateGoodss;
    }

    public FrontInsureRateGoods getInsureRateGoods() {
        return insureRateGoods;
    }

    public void setInsureRateGoods(FrontInsureRateGoods insureRateGoods) {
        this.insureRateGoods = insureRateGoods;
    }


}
